import org.junit.Test;

public class test {



    @Test
    public void test2(){
        String name = "abc.xlsx";

        if (name.endsWith("xlx") || name.endsWith("xlsx")){
            System.out.println(name);
        }
    }


}
